<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>
<body>
   <h1>标题</h1>
</body>
<script src="../lib/jquery.min.js"></script>
<script>
    console.log(document);
    //通过工厂函数将原生对象转换成jq对象
    var doc=$(document)
    console.log(doc);
    //通过选择器查找标签元素节点
    var h1=$('h1')
    console.log(h1);
    //创建元素节点
    var p=$('<p>这是一个段落</p>')
    console.log(p);
    $(function(){
       
    });
</script>
</html>